package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Comspec)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:15:17
 */
@ApiModel(value = "商品规格")
public class Comspec implements Serializable {
    private static final long serialVersionUID = 481171349215808142L;
    /**
     * 商品规格主键
     */
    @ApiModelProperty(name = "comspecId",notes = "商品规格主键",required = true,value = "商品规格主键")
    private Integer comspecId;
    /**
     * 商品规格名称
     */
    @ApiModelProperty(name = "comspecName",notes = "商品规格名称",required = true,value = "商品规格名称")
    private String comspecName;
    /**
     * 价格
     */
    @ApiModelProperty(name = "space",notes = "价格",required = true,value = "价格")
    private Double space;
    /**
     * 货号
     */
    @ApiModelProperty(name = "number",notes = "货号",required = true,value = "货号")
    private String number;
    /**
     * 库存数量
     */
    @ApiModelProperty(name = "inventory",notes = "库存数量",required = true,value = "库存数量")
    private Integer inventory;
    /**
     * 图片
     */
    @ApiModelProperty(name = "pageUrl",notes = "图片",value = "图片")
    private String pageUrl;
    /**
     * 商品规格状态（1：正常 0：已删除）
     */
    @ApiModelProperty(name = "comspecStatu",notes = "商品规格状态（1：正常 0：已删除）",value = "商品规格状态（1：正常 0：已删除）")
    private Integer comspecStatu;


    public Integer getComspecId() {
        return comspecId;
    }

    public void setComspecId(Integer comspecId) {
        this.comspecId = comspecId;
    }

    public String getComspecName() {
        return comspecName;
    }

    public void setComspecName(String comspecName) {
        this.comspecName = comspecName;
    }

    public Double getSpace() {
        return space;
    }

    public void setSpace(Double space) {
        this.space = space;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public Integer getComspecStatu() {
        return comspecStatu;
    }

    public void setComspecStatu(Integer comspecStatu) {
        this.comspecStatu = comspecStatu;
    }

    @Override
    public String toString() {
        return "Comspec{" +
                "comspecId=" + comspecId +
                ", comspecName='" + comspecName + '\'' +
                ", space=" + space +
                ", number='" + number + '\'' +
                ", inventory=" + inventory +
                ", pageUrl='" + pageUrl + '\'' +
                ", comspecStatu=" + comspecStatu +
                '}';
    }
}